Zip_Files

open fun Zip_Files(Destination_File: File, Source_Dir: File)

zips all files inside a directory. Does not recourse into subdirectories. Will not zip the tip file if it is created inside the same directory

Parameters

Destination_File

File to zip to

Source_Dir

Directory to zip files from

Throws

zip of files failed


open fun Zip_Files(Destination_Stream: OutputStream, Source_Files: Array<File>)

zips all files inside a directory. Does not recourse into subdirectories. Will not zip the tip file if it is created inside the same directory

Parameters

Destination_Stream

File to zip to

Source_Files

Directory to zip files from

Throws

zip of files failed